<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><%= h(yield(:title) || "Admin Area") %></title>
<%= stylesheet_link_tag "blueprint/screen", :media => "screen, projection" %>
<%= stylesheet_link_tag "blueprint/print", :media => "print" %>
<!--[if lt IE 8]><%= stylesheet_link_tag "blueprint/ie", :media => "screen, projection" %><![endif]-->
<%= stylesheet_link_tag "styles", :media => "screen, projection" %>
<%= yield(:head) %>
  </head>
  <body>
<div class="container">
	<div class="span-24 last" id="header">
		<div class="span-8" id="logo"><%= link_to image_tag("logo_myoffice.png"), :action=>"" %></div>
		<div class="span-16 last" id="toplinks">Welcome, <strong>Junaidah</strong> | <a class="admin" href="#">Admin Area</a> | <a class="useredit" href="#">Edit  Account</a> | <a class="clockout" href="#">Clock Out!</a> | <a class="signout" href="#">Sign out</a></div>
	</div>
<div class="span-24 last"> 
 <ul id="menubar"> 
	<li><a href="#">Home</a></li> 
	<li><a href="#">Attendance Info</a></li> 
	<li><a href="#">Out-of-office Info</a></li> 
	<li><a href="#">Visitor Info</a></li> 
	<li><a href="#">Meeting Room Info</a></li> 
	<li><a href="#">Notice Board</a></li> 
	<li><a href="#">Calendar</a></li> 
	<li><a href="#">Directory</a></li> 
	<li><a href="#">Address Book</a></li>
</ul>
</div>
<div class="span-24 last" id="main">
	<% flash.each do |name, msg| %><%= content_tag :div, msg, :class => name %><% end %>
		<div class="admin_links">
			<%= link_to "Admin", :controller => "admin", :action => "index" %> | <%= link_to "Meetings", :controller => "meetings", :action=> "index" %> | <%= link_to "Meeting Rooms", :controller => "meeting_rooms", :action=> "index" %>  | <%= link_to "Visitors", :controller => "visitors", :action => "index" %></div>
		<% if show_title? %><h1><%=h yield(:title) %></h1><%- end -%>
	<%= yield %>
</div>
<div class="span-24 last" id="footer">
&copy; 2010, Localhost Sdn Bhd. All rights reserved.</div>
</div>
</body>
</html>
